﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Caltech.Models
{
    public class EquipmentModel : BaseModel
    {
        public string Manufacturer { get; set; }
        public string Description { get; set; } /*range*/
        public string ModelNumber { get; set; }
        public string SerialNumber { get; set; }
        public string PONumber { get; set; }
        public string Procedure { get; set; }
        public string AssetNumber { get; set; }
        public long? Price { get; set; }

        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }
        public string Name { get; set; } /* desciption*/

        public string SearchKeyEquipment { get; set; }

        public UserSearchModel Salesman { set; get; }
        public CustomerCompactModel Customer { get; set; }
    }

    public class EquipmentSearchModel : BaseModel
    {
        public string Manufacturer { get; set; }
        public string ModelNumber { get; set; }
        public string SerialNumber { get; set; }
        public long? Price { get; set; }

        public DateTime? CalibrationDate { get; set; }
        public DateTime? NextDueDate { get; set; }
        public string Name { get; set; } /* desciption*/

        public int CustomerId { get; set; }
        public int CustomerName { get; set; }
    }
}